package com.ruicar.afs.cloud.account.common.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruicar.afs.cloud.account.common.entity.VoucherBusinessConfiguration;
import com.ruicar.afs.cloud.common.core.query.QueryCondition;
import com.ruicar.afs.cloud.common.core.util.IResponse;

/**
 * @author infinity
 * @version 1.0
 * @date 2020/7/12 15:36
 */
public interface VoucherBusinessConfigurationService extends IService<VoucherBusinessConfiguration> {

    Boolean addVoucherBusiness(VoucherBusinessConfiguration voucherBusinessConfiguration);

    Boolean delVoucherBusiness(String id);

    Boolean modifyVoucherBusiness(VoucherBusinessConfiguration voucherBusinessConfiguration);

    IResponse query(QueryCondition<VoucherBusinessConfiguration> queryCondition);

    IResponse queryBusinessList(VoucherBusinessConfiguration queryCondition);

    IResponse queryListChild(VoucherBusinessConfiguration queryCondition);
}
